package com.niit.service;


import com.niit.model.*;

import java.util.List;
public interface AdminService {

     List<Admin> getadminList();
     List<Student> getstudentList();
     List<Teacher> getteacherList();
     List<Classes> getclassList();
     List<Question> getquestionList();
     List<ExamPaper> getexampaperList();


     Admin selectAdminId(Long id);
     Student selectStudentId(Long id);
     Teacher selectTeacherId(Long id);
     Classes selectClassId(Long id);
     Question selectQuestionId(Long id);
     ExamPaper selectExamPaperId(Long id);

     int addAdmin(Admin admin);
     int addStudent(Student student);
     int addTeacher(Teacher teacher);
     int addClass(Classes classes);
     int addQuestion(Question question);
     int addExamPaper(ExamPaper examPaper);

     int upAdmin(Long id);
     int upTeacher(Long id);
     int upStudent(Long id);
     int upClass(Long id);
     int upQuestion(Long id);
     int upExamPaper(Long id);
     int upstatus(Long id);

     int deleteAdminById(Long id);
     int deleteStudentById(Long id);
     int deleteTeacherById(Long id);
     int deleteClassById(Long id);
     int deleteQuestionById(Long id);
     int deleteExamPaperById(Long id);
}
